
<template>
  <div v-wechat-title='$route.meta.title || ""'>
    <router-view v-slot="{ Component }">
        <keep-alive>
          <component :is="Component"  v-if="$route.meta.keepAlive"/>
        </keep-alive>
        <component :is="Component"  v-if="!$route.meta.keepAlive"/>
    </router-view>
  </div>
</template>
<script>
  import {onMounted,reactive,toRefs} from 'vue'
  export default{
    setup(){
      const state = reactive({
        minHeight:'100px'
      })

      onMounted(() =>{
        
      })

      return{
        ...toRefs(state)
      }
    }
  }
  
</script>

<style lang="scss" scoped>

</style>

